package com.tjbank.cssys.repository;

import com.tjbank.cssys.domain.CkCreditCivilCirminalCases;
import com.tjbank.cssys.domain.CkOrderRecoveryData;
import com.tjbank.cssys.domain.CreditDerate;
import com.tjbank.cssys.domain.CreditInstallment;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface CreditDerateMapper {

    /*高淙博  --- 根据批次号,姓名,身份征号,信用卡号获取财务信息*/
    List<CreditDerate> getDetailsBybatchNumber(Map<String, String> map);

    /*修改  审批状态  0未审批1审批*/
    int UpdateAudit(CreditDerate creditDerate);

    /*修改  删除状态  card_statue   卡的状态 ，0无效 ,1有效  */
    int UpdateAccountStatus(CreditDerate creditDerate);

    List<CreditDerate> selectList(CreditDerate creditDerate);

    int deleteByPrimaryKey(Long id);

    int insert(CreditDerate record);

    int insertSelective(CreditDerate record);

    CreditDerate selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CreditDerate record);

    int updateByPrimaryKey(CreditDerate record);
}